package com.yidu.qianfeng.delivery;

import com.yidu.qianfeng.common.bean.waybill.Waybill;
import com.yidu.qianfeng.mapper.ShuntMapper;

import javax.annotation.Resource;
import java.util.HashMap;

/**
 * @Author: 陈峰
 * @Description:
 * @Date Created in 9:21 2021/4/21
 * @since 1.0
 */
public class DeliveryService {

    @Resource
    private ShuntMapper mapper;

    public Waybill queryDelivery(String consignNum){
        return mapper.queryDelivery(consignNum);
    }

    public int addDelivery(HashMap<String, Object> map){
        return mapper.addDelivery(map);
    }


}
